Subject: Re: [xsl] Creating nested structures From: scott gabelhart <swgabel@xxxxxxxxxxxx> Date: Fri, 23 Jan 2004 08:41:01 -0500 |
Hi,Jarno,
I am stuck trying to determine how to create nested structures from my transform for my xsl output.
Desired output example would be <table><tr><td></td></tr><table><tr><td></td></tr></table></table>
Also is there a XPath method that can be employed to find a begining elements closing tag structure when transforming a nested xml input file?
XPath doesn't operate on tags, but rather on node tree.
Example:
Input xml file:
<TABLE><DPROW><OBJECT>2</OBJECT><OBJECT>4</OBJECT></DPROW><TAB
LE><DPROW><OBJECT>4</OBJECT></DRROW></TABLE></TABLE>
This transformation is so simple that I can only suggest that you take some time to learn XPath and XSLT—if you have problems after that, show use the source XML, the stylesheet so far, and the desired output.
Cheers,
Jarno - Feindflug: Glaubenskrieg
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Creating nested structure, Jarno . Elovirta | Thread | Re: [xsl] Creating nested structure, Wendell Piez |
RE: [xsl] dereferencing count() wit, Andrew Maclean | Date | [xsl] Accessing data from repeating, Mark Williams |
Month |