Unstoppable Domains

PHP into XML?

Spaceship Spaceship
Watch

SquireQuack

Established Member
Impact
0
I'm doing a little bit of xml editing (so I'm not taking a course or something).

I want to know how to insert <?php ?> and <script> and <img> into XML documents? Thanks!
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
i dont believe .xml uses any images or php
i baically thought it just had a set variables

example:<body>
<title>Title Here</title>
<paragraph>paragraph1</paragraph>
</body>
 
0
•••
no...xml uses a stylesheet to define the tags.

There really no images in XML O.o?????

What makes XML so powerful then?
 
Last edited:
0
•••
well aint xml suppose to allow simple and easy access.
 
0
•••
XML is powerful because it allows you to define your own tags etc. kinda like designing a mark-up language, you should look it up on google for more info.
 
0
•••
xml is not designed to be used for layout

if you want to layout your xml pages use xlst.

xml is pureley a language for storing data. thats it.

but be warned. xlst and xml pages are a relativley new tech and arnt supported in older browsers since all rendering is done client side.
 
0
•••
adam_uk said:
xml is not designed to be used for layout

if you want to layout your xml pages use xlst.

xml is pureley a language for storing data. thats it.

but be warned. xlst and xml pages are a relativley new tech and arnt supported in older browsers since all rendering is done client side.

Is anyone here familiar with IPB Skin Templates? It kinda laysout how the board looks. Its seems expactly like HTML at first glance...but when I opened the actual script...it said it was xml...without a style sheet but instead:

----
<?xml version="1.0" ?>
<templateexport exported="1115137035" versionid="20000" type="master">
----

what kind of code is this?
 
0
•••
IPB has a special template system. PHP imorts the template files, and then parses them into HTML.
 
0
•••
o...so technically its HTML with HTML tags? Thanks!
 
0
•••
Dynadot — .com Registration $8.99Dynadot — .com Registration $8.99
Appraise.net

We're social

Unstoppable Domains
Domain Recover
DomainEasy — Payment Flexibility
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back