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
Conferences Close Tree View
+ Stylus Studio Feature Requests (1192)
- Stylus Studio Technical Forum (14621)
-> + First steps in XSLT mapping (4)
-> + Option to build XSL-FO is not ... (3)
-> + using Adaptor convert XML to e... (2)
-> + Using XML Converter on a Compl... (2)
-> + Java built-in processor needed... (3)
-> + XSL to draw a table (2)
-> - Stylus Studio in c# solutions (1)
-> + entities within schemaLocation... (4)
-> + java runtime error during xslt... (2)
-> + Conversion of XML Doc for RSS ... (2)
-> + Does anyone know how to upgrad... (2)
-> + XML editor corrupts my file (5)
-> + Stylus Studio & Berkeley DB XM... (4)
-> - XSLT for page breakout (2)
-> ->XSLT for page breakout
-> + How to avoid creating empty el... (2)
-> + Error in converting 945 EDI us... (4)
-> + XML to X12 (invoice 810 edi) (2)
-> - Stylus Studio 2009 Enterprise ... (1)
-> + Stylus Studio 2007 - license d... (2)
-> + XML to X12 conversion error (6)
-- Previous [721-740] [741-760] [761-780] Next
+ Website Feedback (249)
+ XSLT Help and Discussion (7625)
+ XQuery Help and Discussion (2017)
+ Stylus Studio FAQs (159)
+ Stylus Studio Code Samples & Utilities (364)
+ Stylus Studio Announcements (113)
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
(Deleted User) Subject: XSLT for page breakout
Author: (Deleted User)
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

   
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.