xsl-list
[Top] [All Lists]

To Split, Pick/Select, Obtain and use Values from a single XHTML style ="..." attribute containing Bunched Formatting Attributes in it. style="TABLE-LAYOUT: fixed; WIDTH: 591px; BORDER-TOP-STYLE: none; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none;

2004-09-22 17:15:49
<table class="MsoNormalTable msoUcTable" style="TABLE-LAYOUT: fixed;
WIDTH: 591px; BORDER-TOP-STYLE: none; BORDER-RIGHT-STYLE: none;
BORDER-LEFT-STYLE: none; BORDER-COLLAPSE: collapse; WORD-WRAP:
break-word; BORDER-BOTTOM-STYLE: none" tabIndex="-1" cellPadding="0"
border="1">

How would I write an XSL module to pick up and split up the single
attribute style="...." and obtain the "named" ATTRIBUTES that have been
bunched inside this X-HTML produced by InfoPath?

An xsl that allowed me to obtain them by "NAME" would be great.

An xsl that went through the entire thing and extracted and mapped
attributes that I have pre-defined in a match list would be even better
:).

Kindly advise oh gods of recursive xsl attribute tokenizers :).

I am having a tough time trying to figure out the best way to do this
efficiently. I know that it could involve use of substring() matches. 

I don't know, maybe some ideas or code might give me some direction.

Thanks,

Abhishek
____________________________________________________________

Abhishek Sanwal
HP - Houston Campus


<Prev in Thread] Current Thread [Next in Thread>