|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] from start tag A to end tag B
Hello, I have the following input xml <root> <p class="foo"> ... </p> <tag1/> ... <tagN/> <p class="foo"> ... </p> ... </root> I want to put all elements between <p class="foo"> start tags into a new element called textItem. E.g.: <root> <textItem> <p class="foo"> ... </p> <tag1/> ... <tagN/> </textItem> <textItem> <p class="foo"> ... </p> ... </textItem> </root> As XSL does not work on a tag basis (like SAX getStartTag()) nor line basis I am not sure how to implment that.I am not even sure if there is a chance to do that in XSL. Can you help? Thanks in advance, Robert
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








