XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Chris PatSubject: XSLT for page breakout
Author: Chris Pat
Date: 05 Sep 2009 05:56 PM
Hello
I am a newbie, so please excuse any gaucherie.
I have a simple html document that is structured all with </div>, however each <div> of interest also has a unique id. What I would like to do is to breakout every unique id=pageXXX, into a properly, default, formatted XHTML page into a subdirectory with the exact name as the id. The problem, of many I see, is the page nomenclature is NOT padded so I dont see how to parse that and put it into a variable for a file name. Of course also how do I designate the location, simple directory structure relative to the source document, and the actual section copy and page level document creation. Sorry if this is too much, I like non-trivial problem to learn with, grin. tia.

Posttop
Alberto MassariSubject: XSLT for page breakout
Author: Alberto Massari
Date: 14 Sep 2009 11:40 AM
Hi,
writing to separate directory and files is not part of the normal XSLT specification, so you will have to use extension functions. Which processor are you planning to use, and which version of Stylus Studio are you using?

Alberto

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.