|
Pages: [1]
|
 |
|
Author
|
Topic: tag! (Read 250 times)
|
|
cavva
|
 |
tag!
« on: September 22, 2005, 02:32:21 AM » |
|
What can i do with a "tag!" ? can i see it's attribitues or if is a tag opener (es: <body>) or a tag closer (es </body>)? for examples: myTAG: <table width="100%" align="left">
print myTAG/attributes/align; is this possible ?
|
|
|
|
|
Logged
|
|
|
|
|
CarlRead
|
 |
tag!
« Reply #1 on: September 22, 2005, 03:05:51 AM » |
|
As far as I know, there's no special support for handling the contents of tags. Using PARSE on a tag might be of some use to you though. ie... >> myTAG: <table width="100%" align="left"> == <table width="100%" align="left"> >> blk: parse/all mytag " =" == ["table" "width" "100%" "align" "left"] >> select blk "width" == "100%" >> select blk "align" == "left" Hope that gives you with some ideas.
|
|
|
|
|
Logged
|
- Carl Read
|
|
|
|
cavva
|
 |
tag!
« Reply #2 on: September 22, 2005, 06:02:26 AM » |
|
Hope that gives you with some ideas. Yes, this is a good starting point.... now i can create ,for examples, a function "to-enhanced-tag" that return an obj with a series! for the attributes a some additional information... thanks
|
|
|
|
|
Logged
|
|
|
|
|
|
Pages: [1]
|
|
|
 |