This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Using JavaScript to access <xml:list> items


Thanks for the feedback.
Although I've been trying to find out about XML/XSLT for a while now,
this is my first effort, - my JavaScript experience is about the same.
Please tell me about any silly things that you find "blatantly obvious".
I have ideas about what I want to do, and how to do it.  Any information
about basic principals, methods or options that allow me to revise my
ideas about 'how' have got to be good!!!!

I've had a look at the samples people have posted, and feel I have some
understanding of them, but suspect I should take two steps back and try
a different approach.  Following is some background to my original post:

I am looking to map a relational style database to XML, and think that
lists of integers are the best way to represent one-to-many
relationships.  (comments??)

It seems that XSLT has limited functionality to access lists (I believe
this is on the list of things for version 2.0, so assume that statement
is true)

What I'm after is methods to access and manipulate the lists in a style
sheet.  In particular I want to be able to :
* Step through the lists (for-each element in the list);
* Test if a particular value occurs in any of the lists.  
Developing an understanding/familiarity with using the language(s) would
also be handy!!!

I am working on and for Windows, and am encouraged to stay with
Microsoft products, and will not need to run outside the Windows
environment.  The list access is however a major issue, and if there are
other products etc that handle them better, I'd definitely investigate.

Generally I'm looking at xml to xml transformations, although xml to
html would also be useful.

Any comments/advice etc will be appreciated!

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]