Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > Dynamic XSL-Queries

Reply
Thread Tools

Dynamic XSL-Queries

 
 
Martin Buchleitner
Guest
Posts: n/a
 
      07-15-2003
Hi !

At the moment i split the document into seperate NodeSets
which consist of one 'style1' block. This block goes either
until the end of the document or until another 'style1' block
appears.
This all is hardcoded defined in the style-sheet at the moment.
But i want to be able to use the user-defned styles which are
based on the style1 - style, which is designed by the application.

At the moment i am only able to split out Block #1 + #2, but i also
want to use the style-definitions to geht Block #3.

Is there any possibiliy to do a lookup into the style-definition
section and to use this data to split out this blocks?

Thanks Martin

=====Example XML==================================
<document>
<styles>
<style id='style1'>
... some definitions ...
</style>
<style id='user-defined-style'>
<basic-style>style1</basic-style>
... some definitions ...
</style>
</styles>
<data>
<paragraph> --------------|
<style>style1</style1> |
<text> ... some text ... </text> |
</paragraph> | Block #1
... some styles different from 'style1' ...
<paragraph> --------------|
<style>style1</style1> |
<text> ... some text ... </text> |
</paragraph> | Block #2
... some styles different from 'style1' ...
<paragraph> --------------|
<style>user-defined-style</style1|
<text> ... some text ... </text> |
</paragraph | Block #3
... some styles different from 'style1' ...
</data> --------------|
</document>
==================================================

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic Variables? OR Dynamic Controls =?Utf-8?B?VGVyb3M=?= ASP .Net 1 08-10-2004 01:13 PM
Dynamic control on aspx page, dynamic location Chris Thunell ASP .Net 3 07-21-2004 04:52 PM
VPN between 2 Cisco routers (1 static, 1 dynamic) with access from stat --> dynamic over ISDN Hans-Peter Walter Cisco 3 01-21-2004 02:12 PM
Does Pix or cisco router support dynamic-to-dynamic IPSec VPN? c Cisco 2 01-13-2004 01:53 AM
Re: Dynamic Table with Dynamic LinkButtons Rick Glos ASP .Net 0 07-08-2003 01:09 PM



Advertisments