mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
M1503 - Integrate XML parse -Initial Steps
This commit is contained in:
parent
50e0c36eeb
commit
dca4e3730b
8 changed files with 81 additions and 6 deletions
20
components/script/parse/xml.rs
Normal file
20
components/script/parse/xml.rs
Normal file
|
@ -0,0 +1,20 @@
|
|||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#![allow(unrooted_must_root)]
|
||||
|
||||
use dom::document::Document;
|
||||
use url::Url;
|
||||
use util::str::DOMString;
|
||||
|
||||
pub enum ParseContext {
|
||||
Owner(Option<i32>)
|
||||
}
|
||||
|
||||
|
||||
pub fn parse_xml(document: &Document,
|
||||
input: DOMString,
|
||||
url: Url,
|
||||
context: ParseContext) {
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue